<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="html/css/base.css">
<link rel="stylesheet" href="html/css/repair.css">
<link href="html/css/bootstrap.min.css" rel="stylesheet">
   <script src="html/js/bootstrap.min.js"></script>
   <script src="html/js/jquery-3.1.1.js"></script>
<title>聪明的一修</title>
</head>
<body>
	<div class="banner navbar-fixed-top">
		<div class="w">
			<ul class="fr">
				<li><a href="home.jsp">首页</a></li>
				<li><a href="repair.jsp">我要报修</a></li>
				<li><a href="reg_master.jsp">师傅注册</a></li>
				<li><a href="#">服务站申请</a></li>
				<li><a href="#">个人中心</a></li>
				<li><a href="#">关于我们</a></li>
			</ul>
		</div>
	</div>
	<div class="ban">
		<img src="html/image/repaire1.png" alt="">
	</div>
	<div class="box w clearfix">
		<span>Your Order</span>
		<form action="" role="form">
			<div class="put form-group fl">
				<dt>故障物品图片</dt>
				<img src="html/image/timg.jpg" id="img0" style="width: 200px; height: 250px;">
				<label class="sr-only" for="inputfile">文件输入</label>
				<input type="file" name="file0" id="file0" multiple="multiple">
				<script>    
				$("#file0").change(function(){
				    var objUrl = getObjectURL(this.files[0]) ;
				    console.log("objUrl = "+objUrl) ;
				    if (objUrl) {
				        $("#img0").attr("src", objUrl) ;
				    }
				}) ;
				//建立一個可存取到該file的url
				function getObjectURL(file) {
				    var url = null ; 
				    if (window.createObjectURL!=undefined) { // basic
				        url = window.createObjectURL(file) ;
				    } else if (window.URL!=undefined) { // mozilla(firefox)
				        url = window.URL.createObjectURL(file) ;
				    } else if (window.webkitURL!=undefined) { // webkit or chrome
				        url = window.webkitURL.createObjectURL(file) ;
				    }
				    return url ;
				}
				</script>
			</div>
			<div class="tj form-group fl">
			    <label for="name">姓名</label>
			    <input type="text" class="form-control" id="name" 
			    placeholder="请输入名称">
			    <label for="name">手机号码</label>
			    <input type="text" class="form-control" id="name" 
			    placeholder="请输入名称">
			    <label for="name">详细地址</label>
			    <input type="text" class="form-control" id="name" 
			    placeholder="请输入详细地址">
			    <label for="name">物品名称</label>
			    <input type="text" class="form-control" id="name" 
			    placeholder="请输入名称">
			    <label for="name">报修电器类型</label>
			          <select class="form-control">
			             <option>1</option>
			             <option>2</option>
			             <option>3</option>
			             <option>4</option>
			             <option>5</option>
			          </select>
			    <label for="name">详细描述</label>
			       <textarea class="form-control" rows="3"></textarea>
			</div>
			<div class="btn">
			<button>重<br>置</button>
			<button>提<br>交</button>
			</div>
		</form>
	</div>
	<div class="w bx">
		<img src="html/image/wy.png" alt="">
	</div>
	<div class="footer">
		<div class="tb clearfix">
			<div class="phone fl clearfix">
				<dt class="fl" style="margin-top: 20px;"><img src="html/image/db_dh.png" alt=""></dt>
				<div class="fl" style="margin-left: 20px;">
					<span style=" font-size: 32px; margin-bottom: 10px;">156-2570-3026</span>
					<span>服务时间：上午8:00-晚上22:00</span>
				</div>
			</div>
			<div class="banc fl">
				<ul>
					<li><a href="#">首页</a></li>
					<li><a href="#">我要报修</a></li>
					<li><a href="#">师傅注册</a></li>
				</ul>
			</div>
			<div class="banc fl">
				<ul>
					<li><a href="#">个人中心</a></li>
					<li><a href="#">服务站申请</a></li>
					<li><a href="#">关于我们</a></li>
				</ul>
			</div>
			<div class="erwei">
				<img src="html/image/er.png" alt="">
			</div>
		</div>
		<div class="bb">
			Copyright © 2015-2017,www.Alxiu.com,All rights reserved 版权所有 © 聪明的一修-互联网家维修服务平台   粤ICP备15107999号-1
		</div>
	</div>
	<div class="db">
		Powered by PageAdmin CMS
	</div>
</body>
</html>